<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <title>文件上传</title>
    <style>
    	a{ 
    		text-decoration:none;
    		margin-left:0px;
    	}
    	p{
    		margin-left:230px;
    	}
	</style>
</head>
<body style="text-align:center;">
<h2>请先上传文件</h2>
<br>
<form method="post" action="/uploadAdd" enctype="multipart/form-data">
    选择一个文件:
    <input style="border:1px solid gray" type="file" name="file" />
    <br/><br/>
    <input style="margin-left:288px" type="submit" value="上传" />
    <br><br>
    <p>如不上传请<a href="/toAdd">跳过</a></p>
</form>

</body>
</html>